/**
 * 声明后端接口返回的数据结构
 */
export interface AjaxResponseWrapper<T> {
  data?: T;

  message?: string;

  code: number;

  extras?: Record<string, any>;
}

export const APP_TOKEN = 'Sn-Token';

export const APP_URL_TOKEN_PARAM = 'token';

export const isDev = process.env.NODE_ENV === 'development';
